home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
util1
/
jukbxext.lha
/
JukeBox-Extensions
/
prog.main
< prev
Wrap
Text File
|
1995-08-17
|
1KB
|
85 lines
tableofcontents = "ram:jb.toc"
trackstoplay = "ram:jb.tracks"
stop
options results
toc stem name.
bis = name.0 -1
address "REXX"
if (open(tocfile,tableofcontents,"W")) then
do
address
do i=1 to bis
toc i
toadd.0 = ""
parse var result toadd.i . . title
address "REXX"
/* say i" "title */
writech(tocfile,i" "title""x2c(0))
address
end
address "REXX"
close(tocfile)
address
end
else
do
say "Could not create" tabelofcontents
exit
end
address command "prog-GUI >con:0/0/500/100/Prog-GUI-Error/auto" tableofcontents trackstoplay texts
address "REXX"
if (open(Tracks,trackstoplay,"R")) then
do i = 1
num.i = readln(Tracks)
/*say "NUM."i"="num.i*/
if num.i = "" then leave
end
else
do
say "Konnte" trackstoplay "nicht öffnen!"
exit
end
close(Tracks)
address command "delete" trackstoplay tableofcontents "quiet"
address
do i = 1 while num.i ~= ""
/* Play-Routine */
spur = num.i
time = toadd.spur
set track spur
"current time"
base = result
addtime base time
stoptime = result
subtime stoptime "00:01:00"
stoptime = result
"current title"
/*say "Spiele Track "spur" `"result"` von "base" bis "stoptime "("time" lang)"*/
play
"wait time" stoptime
/* Ende derselben */
end
stop
exit